from django.urls import re_path

from chart_web.chart_room import blue_consumers, poet_consumers

websocket_urlpatterns = [
    # 127.0.0.1:8005/room/群号/
    # 蓝天聊天室
    re_path(r'blue/(?P<group>\w+)/$', blue_consumers.ChatConsumer.as_asgi()),
    # 密码聊天室
    re_path(r'poet/(?P<group>\w+)/$', poet_consumers.ChatConsumer.as_asgi())
    # 个人聊天室
]
